import { BaseEntity } from '../../base/entity/base';
import { Column, Entity, Index } from 'typeorm';

/**
 * 对接参数
 */
@Entity('order_zhongtian')
export class OrderZhongtianEntity extends BaseEntity {
    // appid
    @Column({ comment: 'appid', nullable: true })
    appId: string;
    // userid
    @Column({ comment: 'userid', nullable: true })
    userId: string;
    // token
    @Column({ comment: 'token', nullable: true })
    token: string;
    // token过期时间
    @Column({ comment: 'token过期时间', nullable: true, type: 'varchar' })
    tokenExpireTime: string;
}
